OTDestroyConfiguration
Deletes anOTConfiguration
structure.C INTERFACE
void OTDestroyConfiguration(OTConfiguration* cfig);C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
cfig
- A pointer to the
OTConfiguration
structure that you want to delete.DESCRIPTION
TheOTDestroyConfiguration
function deletes theOTConfiguration
structure that you specify in thecfig
parameter and releases all associated memory.SPECIAL CONSIDERATIONS
Functions that open providers delete theOTConfiguration
structure that they use. For this reason, most applications need not call theOTDestroyConfiguration
function. You should call theOTDestroyConfiguration
function only to delete anOTConfiguration
structure not used to open a provider.SEE ALSO
For more information about creating configuration structures, see the sections "About Provider Configurations" (page 6-3) and "Creating and Reusing Provider Configurations" (page 6-10).To create an
OTConfiguration
structure, call theOTCreateConfiguration
function (page 6-27).To copy an
OTConfiguration
structure, call theOTCloneConfiguration
function (page 6-29).